Alexander Larsson [Wed, 14 Jan 2009 20:20:26 +0000 (21:20 +0100)]
Set bg none while changing so we don't draw the bg color
Alexander Larsson [Wed, 14 Jan 2009 13:05:55 +0000 (14:05 +0100)]
tests/testwindows - play with GdkWindows
Alexander Larsson [Fri, 19 Dec 2008 13:44:51 +0000 (14:44 +0100)]
Ref imp even in non-native windows and don't NULL out in destroy so that get_screen works after destroy.
Alexander Larsson [Fri, 19 Dec 2008 10:07:09 +0000 (11:07 +0100)]
Correct type checks on gdk_window_set_group entry.
Alexander Larsson [Fri, 19 Dec 2008 09:38:47 +0000 (10:38 +0100)]
When creating native window, set the native background
Alexander Larsson [Thu, 18 Dec 2008 21:09:25 +0000 (22:09 +0100)]
Need to split up impl changing and reparenting so we can recompute abs_x/y inbetween
Alexander Larsson [Thu, 18 Dec 2008 21:08:39 +0000 (22:08 +0100)]
Avoid flickering by using more temp unset bg
Alexander Larsson [Thu, 18 Dec 2008 20:30:56 +0000 (21:30 +0100)]
Recompute abs_x/y before reparenting windows due to new native window parent
Alexander Larsson [Thu, 18 Dec 2008 19:18:27 +0000 (20:18 +0100)]
Don't destroy NULL region
Alexander Larsson [Thu, 18 Dec 2008 19:11:59 +0000 (20:11 +0100)]
Fix gdk_window_get_root_origin and gdk_window_get_frame_extents when called on non-toplevels
Alexander Larsson [Thu, 18 Dec 2008 13:59:54 +0000 (14:59 +0100)]
Ensure we show native window when creating them for already visible windows
Alexander Larsson [Thu, 18 Dec 2008 13:54:08 +0000 (14:54 +0100)]
Move native window showing/hiding out of is_impl, we may need to do this for emulated windows too
Alexander Larsson [Thu, 18 Dec 2008 13:29:28 +0000 (14:29 +0100)]
Ensure that we always invalidate newly exposed areas, as X may not (due to temp bg none)
Alexander Larsson [Thu, 18 Dec 2008 12:36:52 +0000 (13:36 +0100)]
Various fixes for native windows:
move_region_on_impl() - doesn't need to copy anything if dx/dy == 0
Ensure that we queue an update when invalidating an empty area but we have outstanding moves
Temporarily unset background when moving native child windows
Alexander Larsson [Thu, 18 Dec 2008 10:53:26 +0000 (11:53 +0100)]
Update abs_x/y before moving native children
Alexander Larsson [Thu, 18 Dec 2008 10:43:57 +0000 (11:43 +0100)]
Move all native children (recursively) in gdk_window_scroll
Alexander Larsson [Thu, 18 Dec 2008 10:30:10 +0000 (11:30 +0100)]
Ensure that we're properly hiding impl window if one of its parent non-impl windows are hidden
Also, add some debug printing code to list the GdkWindow tree
Alexander Larsson [Wed, 17 Dec 2008 18:45:56 +0000 (19:45 +0100)]
Don't remove composited childrens area when processing updates
Handle shape when processing updates
Make sure we reset the old clips before setting new cairo clips
Alexander Larsson [Wed, 17 Dec 2008 12:57:48 +0000 (13:57 +0100)]
Handle mask == NULL in shape_combine_mask
Alexander Larsson [Wed, 17 Dec 2008 10:24:46 +0000 (11:24 +0100)]
Implement input shapes
Alexander Larsson [Wed, 17 Dec 2008 09:53:21 +0000 (10:53 +0100)]
Remove shape_combine_mask from backend. Make X11 backend use XShapeCombineMask directly to unset region
Alexander Larsson [Tue, 16 Dec 2008 19:09:20 +0000 (20:09 +0100)]
Implement shaped windows
Alexander Larsson [Tue, 16 Dec 2008 13:38:10 +0000 (14:38 +0100)]
Add _gdk_windowing_window_get_shape
Alexander Larsson [Mon, 15 Dec 2008 14:50:41 +0000 (15:50 +0100)]
Create _gdk_drawable_create_cairo_surface to ugly typechecking
Alexander Larsson [Mon, 15 Dec 2008 14:04:44 +0000 (15:04 +0100)]
Make gdk_windowing_window_destroy a GdkWindowImpl method
Alexander Larsson [Mon, 15 Dec 2008 13:55:53 +0000 (14:55 +0100)]
Make _gdk_windowing_window_queue_translation a GdkWindiwImpl call
Alexander Larsson [Mon, 15 Dec 2008 13:34:52 +0000 (14:34 +0100)]
Remove unnecessary clear_area method in GdkWindowImpl
Alexander Larsson [Mon, 15 Dec 2008 13:26:10 +0000 (14:26 +0100)]
For implicit grabs, we grab the *event* window, not the pointer window
Alexander Larsson [Mon, 15 Dec 2008 13:16:54 +0000 (14:16 +0100)]
Handle cursors right with grabs
Alexander Larsson [Mon, 15 Dec 2008 13:02:52 +0000 (14:02 +0100)]
Implement cursors
Alexander Larsson [Mon, 15 Dec 2008 12:38:41 +0000 (13:38 +0100)]
Fix crossing event order and some details
Alexander Larsson [Mon, 15 Dec 2008 09:24:54 +0000 (10:24 +0100)]
New approach to motion event handling
Alexander Larsson [Wed, 10 Dec 2008 13:44:19 +0000 (14:44 +0100)]
gdk_window_draw_points() - make sure we use the offset points
Alexander Larsson [Tue, 9 Dec 2008 19:13:02 +0000 (20:13 +0100)]
Implement flicker free handling of window moves/resizes
Alexander Larsson [Tue, 9 Dec 2008 19:10:59 +0000 (20:10 +0100)]
Add _gdk_pixmap_set_as_backing which is a way to get GraphicsExposures on pixmaps reported to the window they are backing store for
Alexander Larsson [Tue, 9 Dec 2008 12:35:46 +0000 (13:35 +0100)]
Don't access event after freeing it
Alexander Larsson [Tue, 9 Dec 2008 12:33:26 +0000 (13:33 +0100)]
Share the code to copy impl window regions w/ update_area
Alexander Larsson [Tue, 9 Dec 2008 11:32:36 +0000 (12:32 +0100)]
Don't actually clear background when mapped, as that causes ugly flashed. Just queue a repaint.
This is what the X backend does too.
Alexander Larsson [Tue, 9 Dec 2008 11:26:01 +0000 (12:26 +0100)]
Move flushing code to non-implicit-paint only call.
This is in preparation for other types of buffering
Alexander Larsson [Mon, 8 Dec 2008 18:22:20 +0000 (19:22 +0100)]
Don't include composited childen in window clip region, update region when setting composited
Alexander Larsson [Mon, 8 Dec 2008 11:51:19 +0000 (12:51 +0100)]
Ensure native window if composite requested
Alexander Larsson [Mon, 8 Dec 2008 11:34:04 +0000 (12:34 +0100)]
Don't draw on input_only windows
Alexander Larsson [Mon, 8 Dec 2008 11:19:10 +0000 (12:19 +0100)]
Store colormap on impl window (necessary for e.g. foreign windows)
Alexander Larsson [Sun, 7 Dec 2008 12:42:19 +0000 (13:42 +0100)]
When reparenting, remove from old parent before setting the new parent
(otherwise we remove from the wrong parent)
Alexander Larsson [Sun, 7 Dec 2008 11:17:48 +0000 (12:17 +0100)]
Don't sent native MotionHint masks on pointer grabs as then we won't get enought motion events reported.
Alexander Larsson [Sat, 6 Dec 2008 22:22:24 +0000 (23:22 +0100)]
Fix some return value warnings
Alexander Larsson [Sat, 6 Dec 2008 22:01:39 +0000 (23:01 +0100)]
Handle gdk_window_get_impl_window on root window
Alexander Larsson [Sat, 6 Dec 2008 21:55:09 +0000 (22:55 +0100)]
Clear to end of window if passing zero width or height to gdk_window_clear_area (fixes clist/ctree clearing)
Alexander Larsson [Sat, 6 Dec 2008 21:43:01 +0000 (22:43 +0100)]
Move gdk_window_get_deskrelative_origin to the GdkWindowImpl and make the common code handle abs_x/y
Alexander Larsson [Fri, 5 Dec 2008 20:42:22 +0000 (21:42 +0100)]
The double get_composite_drawable case can happen for pixmap targets too, so move the code to gdk_draw_drawable
Alexander Larsson [Fri, 5 Dec 2008 18:24:55 +0000 (19:24 +0100)]
Fix draw_drawable being offset when using window as source (testgtk text test)
Alexander Larsson [Thu, 4 Dec 2008 21:26:05 +0000 (22:26 +0100)]
gdk_bitmap_create_from_data - drawable may be NULL
Alexander Larsson [Thu, 4 Dec 2008 21:24:07 +0000 (22:24 +0100)]
gdk_pixmap_new - drawable may be NULL
Alexander Larsson [Thu, 4 Dec 2008 21:15:56 +0000 (22:15 +0100)]
gdk_pixmap_draw_pixbuf - gc may be NULL
Alexander Larsson [Thu, 4 Dec 2008 20:57:43 +0000 (21:57 +0100)]
Don't convert foreign windows to child when reparented to non-toplevel
Alexander Larsson [Thu, 4 Dec 2008 20:38:19 +0000 (21:38 +0100)]
Track clip_mask in GdkGC. Fix gdk_gc_add_drawable_clip to handle clip masks
Alexander Larsson [Thu, 4 Dec 2008 19:55:44 +0000 (20:55 +0100)]
Move _gdk_gc_remove_drawable_clip from after each time its set to before each pixmap set and when adding a new different region
This means we can avoid changing the clip if we're drawing with the same gc to the same clip region
Alexander Larsson [Thu, 4 Dec 2008 19:18:02 +0000 (20:18 +0100)]
Move drawable clip tracking into GdkGC
Alexander Larsson [Thu, 4 Dec 2008 18:36:13 +0000 (19:36 +0100)]
Move clip offsetting into _gdk_gc_intersect_clip_region
Alexander Larsson [Thu, 4 Dec 2008 14:46:09 +0000 (15:46 +0100)]
Fix coordinates reported from gdk_window_get_pointer (had sign reversed)
Alexander Larsson [Thu, 4 Dec 2008 14:20:19 +0000 (15:20 +0100)]
Actually report x/y_root against the root window
Alexander Larsson [Thu, 4 Dec 2008 12:07:25 +0000 (13:07 +0100)]
Avoid crash by not passing in NULL mask pointer to _gdk_windowing_get_pointer
Alexander Larsson [Thu, 4 Dec 2008 11:57:35 +0000 (12:57 +0100)]
Add g_warning to not yet supported code
Alexander Larsson [Thu, 4 Dec 2008 11:56:26 +0000 (12:56 +0100)]
Ensure we have native window before reparenting to toplevel
Alexander Larsson [Thu, 4 Dec 2008 11:44:09 +0000 (12:44 +0100)]
Fix up keyboard grab handling
Alexander Larsson [Thu, 4 Dec 2008 10:19:32 +0000 (11:19 +0100)]
Grab pointer on toplevel window, not on nearest native, so that we always get all events on toplevel
Alexander Larsson [Thu, 4 Dec 2008 09:32:08 +0000 (10:32 +0100)]
Make sure we change the event mask on native window if they change between toplevel and child
Alexander Larsson [Thu, 4 Dec 2008 09:22:28 +0000 (10:22 +0100)]
Change assert to warning with some information
Alexander Larsson [Thu, 4 Dec 2008 09:04:05 +0000 (10:04 +0100)]
Make synchronized_configure work for child windows (used by in-process plugs) and ensures a native window exist
Alexander Larsson [Wed, 3 Dec 2008 22:33:04 +0000 (23:33 +0100)]
Never set shapes on foreign windows
Alexander Larsson [Wed, 3 Dec 2008 21:00:56 +0000 (22:00 +0100)]
For foreign parents, use the real parent not the root (which is what we list as parent in the APIs)
Alexander Larsson [Wed, 3 Dec 2008 10:55:17 +0000 (11:55 +0100)]
Really create a native window when getting xid
Alexander Larsson [Wed, 3 Dec 2008 10:18:34 +0000 (11:18 +0100)]
Export gdk_window_set_has_native
Alexander Larsson [Wed, 3 Dec 2008 10:18:09 +0000 (11:18 +0100)]
Create native window when requesting xid
Alexander Larsson [Fri, 16 Jan 2009 09:40:18 +0000 (10:40 +0100)]
Add testcase showing Gtk+ flickering a lot
Alexander Larsson [Fri, 16 Jan 2009 09:39:35 +0000 (10:39 +0100)]
Add offscreen testcase
Alexander Larsson [Fri, 18 Jul 2008 13:03:42 +0000 (15:03 +0200)]
Initial client-side-windows work
The history before this was kind of twisted as several different
approaches were tested, so that was all squashed into this initial
commit to hide the uninteresting changes and files that were later
removed.
Alexander Larsson [Thu, 2 Apr 2009 08:06:01 +0000 (10:06 +0200)]
Revert patch that conflicts with client-side-windows work
Revert commit
f4090b5c847293e94186e13144d8ac5ce0f9db4d, as that
conflicts with the client-side-windows work. Furthermore, that
change is already applied as part of the client-side-windows work.
Matthias Clasen [Tue, 31 Mar 2009 22:49:48 +0000 (18:49 -0400)]
Update README files to refer to git
Update various README files to refer to git instead of svn.
Also discontinue ChangeLog files.
Matthias Clasen [Tue, 31 Mar 2009 22:49:48 +0000 (18:49 -0400)]
Update README files to refer to git
Update various README files to refer to git instead of svn.
Also discontinue ChangeLog files.
Manoj Kumar Giri [Mon, 30 Mar 2009 13:13:16 +0000 (13:13 +0000)]
Added entries for Oriya language Translation updation.
svn path=/trunk/; revision=22596
Manoj Kumar Giri [Mon, 30 Mar 2009 13:12:11 +0000 (13:12 +0000)]
Updated Oriya Translation.
svn path=/trunk/; revision=22595
Christian Persch [Sun, 29 Mar 2009 21:25:13 +0000 (21:25 +0000)]
Bug 577224 – crash when setting new icon after setting icon in
2009-03-29 Christian Persch <chpe@gnome.org>
Bug 577224 – crash when setting new icon after setting icon in
gtkstatusicon
* gtk/gtkstatusicon.c: (gtk_status_icon_reset_image_data),
(gtk_status_icon_set_from_gicon): Retain a reference when setting
from a GIcon, and use g_object_unref on GIcon, not g_free.
svn path=/trunk/; revision=22594
Jorge Gonzalez Gonzalez [Sat, 28 Mar 2009 14:41:58 +0000 (14:41 +0000)]
Fixed wrog string translation
svn path=/trunk/; revision=22593
Behdad Esfahbod [Fri, 27 Mar 2009 16:54:10 +0000 (16:54 +0000)]
Bug 437533 – Implement draw_shape PangoRenderer method
2009-03-27 Behdad Esfahbod <behdad@gnome.org>
Bug 437533 – Implement draw_shape PangoRenderer method
* gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
(gdk_pango_renderer_class_init): Implement draw_shape
* demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
(create_fancy_attr_list_for_layout), (rotated_text_expose_event),
(do_rotated_text):
1) Port to pangocairo
2) Also show a rotated label
3) Install a custom shape renderer on both. The second one goes
through gdkpango and hence tests the patch above. It's working.
svn path=/trunk/; revision=22592
Simos Xenitellis [Fri, 27 Mar 2009 11:02:30 +0000 (11:02 +0000)]
Updated Greek translation (Marios Zindilis)
svn path=/trunk/; revision=22590
Stefan Walter [Fri, 27 Mar 2009 05:22:23 +0000 (05:22 +0000)]
Use gtk_entry_xxx functions rather than using GtkEntry structure directly.
See bug #576801
svn path=/trunk/; revision=22589
Christian Dywan [Wed, 25 Mar 2009 22:54:10 +0000 (22:54 +0000)]
Typo correction, s/hilding/holding
svn path=/trunk/; revision=22588
Paul Bolle [Wed, 25 Mar 2009 20:21:30 +0000 (20:21 +0000)]
Bug 562863 - GtkVscrollbar is hardly documented
2009-03-25 Paul Bolle <pebolle@tiscali.nl>
Bug 562863 - GtkVscrollbar is hardly documented
* gtk/tmpl/gtkvscrollbar.sgml:
* gtk/tmpl/gtkhscrollbar.sgml: Minor tweaks.
svn path=/trunk/; revision=22587
Tor Lillqvist [Wed, 25 Mar 2009 07:18:58 +0000 (07:18 +0000)]
Bug 575644 - Cygwin gail build patch
2009-03-25 Tor Lillqvist <tml@novell.com>
Bug 575644 - Cygwin gail build patch
* modules/other/gail/Makefile.am
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Use -no-undefined also on
Cygwin. Patch from "Cygwin ports maintainer".
svn path=/trunk/; revision=22586
Matthias Clasen [Wed, 25 Mar 2009 03:47:15 +0000 (03:47 +0000)]
Remove a misleading sentence
svn path=/trunk/; revision=22585
Sven Neumann [Wed, 25 Mar 2009 00:07:12 +0000 (00:07 +0000)]
compile fix for build with DIRECT_ENABLE_DEBUG.
2009-03-25 Sven Neumann <sven@gimp.org>
* gdk/directfb/gdkwindow-directfb.c
(gdk_window_directfb_process_all_updates): compile fix for build
with DIRECT_ENABLE_DEBUG.
svn path=/trunk/; revision=22583
Matthias Clasen [Tue, 24 Mar 2009 05:57:53 +0000 (05:57 +0000)]
Fix get_nearest_monitor
svn path=/trunk/; revision=22582
Claudio Saavedra [Mon, 23 Mar 2009 08:57:30 +0000 (08:57 +0000)]
Fix typos and document the GdkPixbufSimpleAnim structure.
2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
* gdk-pixbuf/tmpl/animation.sgml: Fix typos and document the
GdkPixbufSimpleAnim structure.
svn path=/trunk/; revision=22581
Hiroyuki Ikezoe [Sun, 22 Mar 2009 23:09:54 +0000 (23:09 +0000)]
Bug 576254 - <object> requires attribute "id"
2009-03-23 Hiroyuki Ikezoe <poincare@ikezoe.net>
Bug 576254 - <object> requires attribute "id"
* docs/reference/gtk/tmpl/gtkdialog.sgml: Add id attribute to
GtkBuilder UI sample.
svn path=/trunk/; revision=22580
Nickolay V. Shmyrev [Sun, 22 Mar 2009 07:31:12 +0000 (07:31 +0000)]
Updated Russian translation.
2008-03-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation.
svn path=/trunk/; revision=22579
Nickolay V. Shmyrev [Sun, 22 Mar 2009 06:31:16 +0000 (06:31 +0000)]
Updated Russian translation.
2009-03-22 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* ru.po: Updated Russian translation.
svn path=/trunk/; revision=22578
Cody Russell [Sat, 21 Mar 2009 13:58:12 +0000 (13:58 +0000)]
Bug 538840 – [Win32] GTK menu theming could be improved
2009-03-21 Cody Russell <bratsche@gnome.org>
Bug 538840 – [Win32] GTK menu theming could be improved
* modules/engines/ms-windows/xp_theme.c
* modules/engines/ms-windows/msw_style.c: Use newer
menu styling API. This makes gtk+ look much better on
Windows Vista.
svn path=/trunk/; revision=22577
Aron Xu [Sat, 21 Mar 2009 08:56:20 +0000 (08:56 +0000)]
Updated simplified Chinese translations by Xiyue Deng <manphiz at gmail dot com>
svn path=/trunk/; revision=22576
Claudio Saavedra [Thu, 19 Mar 2009 07:47:23 +0000 (07:47 +0000)]
Bug 574283 – unused assignment and dead code in
2009-03-19 Claudio Saavedra <csaavedra@igalia.com>
Bug 574283 – unused assignment and dead code in
gtk_widget_set_tooltip_window()
* gtk/gtkwidget.c: (gtk_widget_set_tooltip_window): Remove
an unused assignment, improving checks, and clean up method.
svn path=/trunk/; revision=22575